﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.JumpToRiskCartography.CApJRCJumpToRiskCartographyCmd
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using DnProcessSimulateCommands.JumpToRiskCartography.Resources;
using Tecnomatix.Engineering;


namespace DnProcessSimulateCommands.JumpToRiskCartography;

public class CApJRCJumpToRiskCartographyCmd : TxToggleButtonCommand
{
  private bool _isToggled;
  private readonly CApJRCJumpToRiskCartographyEnabler _enabler = new CApJRCJumpToRiskCartographyEnabler();
  private readonly CApJRCJumpToRiskCartographyApp _app = new CApJRCJumpToRiskCartographyApp();

  public virtual bool Push => this._app.IsInMode;

  public virtual void Execute(object cmdParams) => this._app.IsInMode = !this._app.IsInMode;

  public virtual string Bitmap => "JumpToRiskCartography.Resources.jrc.bmp";

  public virtual string LargeBitmap => "JumpToRiskCartography.Resources.jrc_big.png";

  public virtual string Category => CApJRCJumpToRiskCartographyResources.CommandCategory;

  public virtual string Description => CApJRCJumpToRiskCartographyResources.CommandDescription;

  public virtual string Tooltip => CApJRCJumpToRiskCartographyResources.CommandTooltip;

  public virtual string Name => CApJRCJumpToRiskCartographyResources.CommandName;

  public virtual bool Licensed => true;

  public virtual ITxCommandEnabler CommandEnabler => (ITxCommandEnabler) this._enabler;
}
